package demo3;

public class Bird extends Animal{
    public Bird(String name,int age){
        super(name, age);
    }
    public void eat()
    {
        System.out.println(name+"正在吃鸟粮-------");
    }
    public void fly()
    {
        System.out.println(this.name+"正在飞------");
    }
}
